package cn.shyouchi.wuguanjia.android.ui.event.arrange;

import java.util.List;

import cn.shyouchi.wuguanjia.android.ui.event.checknum.CheckNumLineEntity;

/**
 * Created by Eenie on 2016/11/27 22:17.
 * Des:
 */

public class RemoteArrangeEntity {


    /**
     * resultCode : 0
     * resultMessage : [{"day":"2016-11-24","service":[{"id":53,"servicesname":"常日班","starttime":"09:00:00","endtime":"17:00:00","time":8,"user":[{"user_id":3,"name":"1111"}]},{"id":55,"servicesname":"白班","starttime":"11:00:00","endtime":"23:00:00","time":12,"user":[{"user_id":3,"name":"1111"},{"user_id":6,"name":"唐海斌"}]},{"id":56,"servicesname":"夜班","starttime":"01:00:00","endtime":"12:00:00","time":11,"user":[{"user_id":3,"name":"1111"},{"user_id":6,"name":"唐海斌"}]}]},{"day":"2016-11-25","service":[{"id":53,"servicesname":"常日班","starttime":"09:00:00","endtime":"17:00:00","time":8,"user":[{"user_id":3,"name":"1111"}]},{"id":55,"servicesname":"白班","starttime":"11:00:00","endtime":"23:00:00","time":12,"user":[{"user_id":3,"name":"1111"},{"user_id":6,"name":"唐海斌"}]},{"id":56,"servicesname":"夜班","starttime":"01:00:00","endtime":"12:00:00","time":11,"user":[{"user_id":3,"name":"1111"},{"user_id":6,"name":"唐海斌"}]}]}]
     */

    private int resultCode;
    private List<ResultMessageBean> resultMessage;

    public int getResultCode() {
        return resultCode;
    }

    public void setResultCode(int resultCode) {
        this.resultCode = resultCode;
    }

    public List<ResultMessageBean> getResultMessage() {
        return resultMessage;
    }

    public void setResultMessage(List<ResultMessageBean> resultMessage) {
        this.resultMessage = resultMessage;
    }

    public static class ResultMessageBean {
        /**
         * day : 2016-11-24
         * service : [{"id":53,"servicesname":"常日班","starttime":"09:00:00","endtime":"17:00:00","time":8,"user":[{"user_id":3,"name":"1111"}]},{"id":55,"servicesname":"白班","starttime":"11:00:00","endtime":"23:00:00","time":12,"user":[{"user_id":3,"name":"1111"},{"user_id":6,"name":"唐海斌"}]},{"id":56,"servicesname":"夜班","starttime":"01:00:00","endtime":"12:00:00","time":11,"user":[{"user_id":3,"name":"1111"},{"user_id":6,"name":"唐海斌"}]}]
         */

        private String day;
        private List<ServiceBean> service;

        public String getDay() {
            return day;
        }

        public void setDay(String day) {
            this.day = day;
        }

        public List<ServiceBean> getService() {
            return service;
        }

        public void setService(List<ServiceBean> service) {
            this.service = service;
        }

        public static class ServiceBean {
            /**
             * id : 53
             * servicesname : 常日班
             * starttime : 09:00:00
             * endtime : 17:00:00
             * time : 8
             * user : [{"user_id":3,"name":"1111"}]
             */

            private int id;
            private String servicesname;
            private String starttime;
            private String endtime;
            private int time;
            private List<UserBean> user;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getServicesname() {
                return servicesname;
            }

            public void setServicesname(String servicesname) {
                this.servicesname = servicesname;
            }

            public String getStarttime() {
                return starttime;
            }

            public void setStarttime(String starttime) {
                this.starttime = starttime;
            }

            public String getEndtime() {
                return endtime;
            }

            public void setEndtime(String endtime) {
                this.endtime = endtime;
            }

            public int getTime() {
                return time;
            }

            public void setTime(int time) {
                this.time = time;
            }

            public List<UserBean> getUser() {
                return user;
            }

            public void setUser(List<UserBean> user) {
                this.user = user;
            }

            public static class UserBean {
                /**
                 * user_id : 3
                 * name : 1111
                 */

                private int user_id;
                private String name;
                private CheckNumLineEntity.ResultMessageBean line;


                public int getUser_id() {
                    return user_id;
                }

                public void setUser_id(int user_id) {
                    this.user_id = user_id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public CheckNumLineEntity.ResultMessageBean getLine() {
                    return line;
                }

                public void setLine(CheckNumLineEntity.ResultMessageBean line) {
                    this.line = line;
                }
            }
        }
    }
}
